package com.gridmobi.xrtb.domain.dsp;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class OfferAdjust {
    private Integer id;

    private String offerid;

    private String offername;

    private Short affiliateid;
    private String affiliateids;

    private String affiliatename;

    private String payouttype;

    private Integer conversioncap;

    private Float defaultpayout;

    private String status;

    private String appid;

    private String appname;

    private String countries;

    private Integer dailymaxclicks;

    private String placements;

    private String aid;

    private Short sourceaffiliateid;

    private String sourceofferid;

    private Float ecpc1;

    private Float ecpc2;

    private Float ecpc3;

    private Float ecpc4;

    private Integer impr1;

    private Integer impr2;

    private Integer impr3;

    private Integer impr4;

    private Float rev1;

    private Float rev2;

    private Float rev3;

    private Float rev4;

    private Float geoavgecpc1;

    private Float geoavgecpc2;

    private Float geoavgecpc3;

    private Float geoavgecpc4;

    private Integer geoavgimpr1;

    private Integer geoavgimpr2;

    private Integer geoavgimpr3;

    private Integer geoavgimpr4;

    private Float geoavgrev1;

    private Float geoavgrev2;

    private Float geoavgrev3;

    private Float geoavgrev4;

    private Float rate1;

    private Float rate2;

    private Float rate3;

    private Float rate4;

    private Float weight;

    private Integer newimpr;

    private Integer adjust;

    private Integer delflag;

    private Integer oid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date adjuststmp;

    private Float weight1;

    private Float weight2;

    private Float weight3;

    private String modifyuser;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifydate;

    private Float score;

    private Date runtime;

    private int newoffer;

    public Integer getId() {
        return id;
    }

    public Date getRuntime() {
        return runtime;
    }

    public void setRuntime(Date runtime) {
        this.runtime = runtime;
    }

    public int getNewoffer() {
        return newoffer;
    }

    public void setNewoffer(int newoffer) {
        this.newoffer = newoffer;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOfferid() {
        return offerid;
    }

    public void setOfferid(String offerid) {
        this.offerid = offerid == null ? null : offerid.trim();
    }

    public String getOffername() {
        return offername;
    }

    public void setOffername(String offername) {
        this.offername = offername == null ? null : offername.trim();
    }

    public Short getAffiliateid() {
        return affiliateid;
    }

    public void setAffiliateid(Short affiliateid) {
        this.affiliateid = affiliateid;
    }

    public String getAffiliatename() {
        return affiliatename;
    }

    public void setAffiliatename(String affiliatename) {
        this.affiliatename = affiliatename == null ? null : affiliatename.trim();
    }

    public String getPayouttype() {
        return payouttype;
    }

    public void setPayouttype(String payouttype) {
        this.payouttype = payouttype == null ? null : payouttype.trim();
    }

    public Integer getConversioncap() {
        return conversioncap;
    }

    public void setConversioncap(Integer conversioncap) {
        this.conversioncap = conversioncap;
    }

    public Float getDefaultpayout() {
        return defaultpayout;
    }

    public void setDefaultpayout(Float defaultpayout) {
        this.defaultpayout = defaultpayout;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid == null ? null : appid.trim();
    }

    public String getAppname() {
        return appname;
    }

    public void setAppname(String appname) {
        this.appname = appname == null ? null : appname.trim();
    }

    public String getCountries() {
        return countries;
    }

    public void setCountries(String countries) {
        this.countries = countries == null ? null : countries.trim();
    }

    public Integer getDailymaxclicks() {
        return dailymaxclicks;
    }

    public void setDailymaxclicks(Integer dailymaxclicks) {
        this.dailymaxclicks = dailymaxclicks;
    }

    public String getPlacements() {
        return placements;
    }

    public void setPlacements(String placements) {
        this.placements = placements == null ? null : placements.trim();
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid == null ? null : aid.trim();
    }

    public Short getSourceaffiliateid() {
        return sourceaffiliateid;
    }

    public void setSourceaffiliateid(Short sourceaffiliateid) {
        this.sourceaffiliateid = sourceaffiliateid;
    }

    public String getSourceofferid() {
        return sourceofferid;
    }

    public void setSourceofferid(String sourceofferid) {
        this.sourceofferid = sourceofferid == null ? null : sourceofferid.trim();
    }

    public Float getEcpc1() {
        return ecpc1;
    }

    public void setEcpc1(Float ecpc1) {
        this.ecpc1 = ecpc1;
    }

    public Float getEcpc2() {
        return ecpc2;
    }

    public void setEcpc2(Float ecpc2) {
        this.ecpc2 = ecpc2;
    }

    public Float getEcpc3() {
        return ecpc3;
    }

    public void setEcpc3(Float ecpc3) {
        this.ecpc3 = ecpc3;
    }

    public Float getEcpc4() {
        return ecpc4;
    }

    public void setEcpc4(Float ecpc4) {
        this.ecpc4 = ecpc4;
    }

    public Integer getImpr1() {
        return impr1;
    }

    public void setImpr1(Integer impr1) {
        this.impr1 = impr1;
    }

    public Integer getImpr2() {
        return impr2;
    }

    public void setImpr2(Integer impr2) {
        this.impr2 = impr2;
    }

    public Integer getImpr3() {
        return impr3;
    }

    public void setImpr3(Integer impr3) {
        this.impr3 = impr3;
    }

    public Integer getImpr4() {
        return impr4;
    }

    public void setImpr4(Integer impr4) {
        this.impr4 = impr4;
    }

    public Float getRev1() {
        return rev1;
    }

    public void setRev1(Float rev1) {
        this.rev1 = rev1;
    }

    public Float getRev2() {
        return rev2;
    }

    public void setRev2(Float rev2) {
        this.rev2 = rev2;
    }

    public Float getRev3() {
        return rev3;
    }

    public void setRev3(Float rev3) {
        this.rev3 = rev3;
    }

    public Float getRev4() {
        return rev4;
    }

    public void setRev4(Float rev4) {
        this.rev4 = rev4;
    }

    public Float getGeoavgecpc1() {
        return geoavgecpc1;
    }

    public void setGeoavgecpc1(Float geoavgecpc1) {
        this.geoavgecpc1 = geoavgecpc1;
    }

    public Float getGeoavgecpc2() {
        return geoavgecpc2;
    }

    public void setGeoavgecpc2(Float geoavgecpc2) {
        this.geoavgecpc2 = geoavgecpc2;
    }

    public Float getGeoavgecpc3() {
        return geoavgecpc3;
    }

    public void setGeoavgecpc3(Float geoavgecpc3) {
        this.geoavgecpc3 = geoavgecpc3;
    }

    public Float getGeoavgecpc4() {
        return geoavgecpc4;
    }

    public void setGeoavgecpc4(Float geoavgecpc4) {
        this.geoavgecpc4 = geoavgecpc4;
    }

    public Integer getGeoavgimpr1() {
        return geoavgimpr1;
    }

    public void setGeoavgimpr1(Integer geoavgimpr1) {
        this.geoavgimpr1 = geoavgimpr1;
    }

    public Integer getGeoavgimpr2() {
        return geoavgimpr2;
    }

    public void setGeoavgimpr2(Integer geoavgimpr2) {
        this.geoavgimpr2 = geoavgimpr2;
    }

    public Integer getGeoavgimpr3() {
        return geoavgimpr3;
    }

    public void setGeoavgimpr3(Integer geoavgimpr3) {
        this.geoavgimpr3 = geoavgimpr3;
    }

    public Integer getGeoavgimpr4() {
        return geoavgimpr4;
    }

    public void setGeoavgimpr4(Integer geoavgimpr4) {
        this.geoavgimpr4 = geoavgimpr4;
    }

    public Float getGeoavgrev1() {
        return geoavgrev1;
    }

    public void setGeoavgrev1(Float geoavgrev1) {
        this.geoavgrev1 = geoavgrev1;
    }

    public Float getGeoavgrev2() {
        return geoavgrev2;
    }

    public void setGeoavgrev2(Float geoavgrev2) {
        this.geoavgrev2 = geoavgrev2;
    }

    public Float getGeoavgrev3() {
        return geoavgrev3;
    }

    public void setGeoavgrev3(Float geoavgrev3) {
        this.geoavgrev3 = geoavgrev3;
    }

    public Float getGeoavgrev4() {
        return geoavgrev4;
    }

    public void setGeoavgrev4(Float geoavgrev4) {
        this.geoavgrev4 = geoavgrev4;
    }

    public Float getRate1() {
        return rate1;
    }

    public void setRate1(Float rate1) {
        this.rate1 = rate1;
    }

    public Float getRate2() {
        return rate2;
    }

    public void setRate2(Float rate2) {
        this.rate2 = rate2;
    }

    public Float getRate3() {
        return rate3;
    }

    public void setRate3(Float rate3) {
        this.rate3 = rate3;
    }

    public Float getRate4() {
        return rate4;
    }

    public void setRate4(Float rate4) {
        this.rate4 = rate4;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

    public Integer getNewimpr() {
        return newimpr;
    }

    public void setNewimpr(Integer newimpr) {
        this.newimpr = newimpr;
    }

    public Integer getAdjust() {
        return adjust;
    }

    public void setAdjust(Integer adjust) {
        this.adjust = adjust;
    }

    public Integer getDelflag() {
        return delflag;
    }

    public void setDelflag(Integer delflag) {
        this.delflag = delflag;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Date getAdjuststmp() {
        return adjuststmp;
    }

    public void setAdjuststmp(Date adjuststmp) {
        this.adjuststmp = adjuststmp;
    }

    public Float getWeight1() {
        return weight1;
    }

    public void setWeight1(Float weight1) {
        this.weight1 = weight1;
    }

    public Float getWeight2() {
        return weight2;
    }

    public void setWeight2(Float weight2) {
        this.weight2 = weight2;
    }

    public Float getWeight3() {
        return weight3;
    }

    public void setWeight3(Float weight3) {
        this.weight3 = weight3;
    }

    public String getModifyuser() {
        return modifyuser;
    }

    public void setModifyuser(String modifyuser) {
        this.modifyuser = modifyuser == null ? null : modifyuser.trim();
    }

    public Date getModifydate() {
        return modifydate;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public String getAffiliateids() {
        return affiliateids;
    }

    public void setAffiliateids(String affiliateids) {
        this.affiliateids = affiliateids;
    }

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }
}